package com.wangzhen.spring.ioc.dependcy.entity;

import com.wangzhen.spring.ioc.dependcy.annotation.MyBean;

/**
 * @author dell
 * @since 2020/9/18 13:13
 */
@MyBean
public class SuperUser extends User {

    private Integer admin;


    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    @Override
    public String toString() {
        return "SuperUser{" +
                "admin=" + admin +
                "} " + super.toString();
    }
}
